]> dgit.raspbian.org Git - gnome-shell.git/commit
userMenu: Don't disconnect account signals when disabled
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 3 Jul 2012 08:34:34 +0000 (10:34 +0200)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 3 Jul 2012 10:37:58 +0000 (12:37 +0200)
commite92719b98d911d4baa5ceb59559ff659a9e1cd9b
tree4f4971d869d26bc4cca556b71a9d385db934d085
parent59246babea450635dde14b39be1492ff61e029c6
userMenu: Don't disconnect account signals when disabled

By disconnecting the 'notify::connection-status' signal as soon as the account
is disabled, we were missing the signal telling us when the status was moving
from CONNECTING/CONNECTED to DISCONNECTED and so the status icon was never
updated.

What we really want is to disconnect the signal when the account is removed
from the account manager as we don't care about it any more.

https://bugzilla.gnome.org/show_bug.cgi?id=669112
js/ui/userMenu.js